package com.lujianbuping.system.opportunityprojectmanagementsystem.entity;

import java.time.LocalDateTime;
/**
 * 用户表
 * @author 罗正东
 *
 */
public class UserEntity {

	/**
	 * 用户id	
	 */
	private String id;
	/**
	 * 用户账号
	 */
    private String account;
    /**
     * 用户名称
     */
    private String name;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 用户创建时间
     */
    private LocalDateTime createTime;
    /**
     * 用户最后一次登录IP
     */
    private String lastLoginIp;
    /**
     * 用户最后一次登录时间
     */
    private LocalDateTime lastLoginTime;
    /**
     * 用户最后修改密码时间
     */
    private LocalDateTime lastModifyPasswordTime;
    /**
     * 用户电话
     */
    private String phone;
    /**
     * 用户电子邮件
     */
    private String securityEmail;
    /**
     *用户头像
     */
    private String avatar;
    /**
     * 用户备注
     */
    private String remark;
    /**
     * 用户状态  0为正常 1为锁定
     */
    private Boolean flag;
    /**
     * 用户是否删除
     */
    private Boolean deleted;
    /**
     * 用户创建人id
     */
    private String createUserId;
    /**
     * 主要角色
     */
    private String mainRole;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp == null ? null : lastLoginIp.trim();
    }

    public LocalDateTime getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(LocalDateTime lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public LocalDateTime getLastModifyPasswordTime() {
        return lastModifyPasswordTime;
    }

    public void setLastModifyPasswordTime(LocalDateTime lastModifyPasswordTime) {
        this.lastModifyPasswordTime = lastModifyPasswordTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getSecurityEmail() {
        return securityEmail;
    }

    public void setSecurityEmail(String securityEmail) {
        this.securityEmail = securityEmail == null ? null : securityEmail.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public String getMainRole() {
        return mainRole;
    }

    public void setMainRole(String mainRole) {
        this.mainRole = mainRole == null ? null : mainRole.trim();
    }
}